package com.binguo.wxapi.form;

import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Created by haibang on 18/5/9.
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UpdateCardForm {

    @ApiParam(value = "卡id", required = true)
    @NotNull
    private Integer cardId;


    @ApiParam(value = "客户id", required = true)
    @NotNull
    private Integer customerId;


    @ApiParam(value = "别名", required = true)
    @NotNull
    private String name;


    @ApiParam(value = "是否设置为主卡", required = true)
    @NotNull
    private Boolean isMaster;


    @ApiParam(value = "是否开启免密支付", required = true)
    private Boolean isNoPasswordPay;





}
